package com.hc;

import org.springframework.stereotype.Component;

@Component
public class TransicationManager {
    public void open(){
        System.out.println("事务开启");
    }

    public void commit(){
        System.out.println("事务提交");
    }

    public void rollback(){
        System.out.println("事务回滚");
    }
}
